Covariance Matrix & Correlation
Variance & Covariance
- Variance measures the variation of a single random variable:
The diagonal entries of the covariance matrix are the variances and the other entries are the covariances:
where
and are simply same as and , respectively.
which derives:
Correlation
Reference
- An intuitive example of covariance matrix: https://www.youtube.com/watch?v=152tSYtiQbw&ab_channel=ritvikmath
- Data science example: https://datascienceplus.com/understanding-the-covariance-matrix/
- Example covariance and correlation between two random variables: https://www.youtube.com/watch/KDw3hC2YNFc